import requests

import config


class LoginAPI:


    @classmethod
    def login(cls,body):
        url=config.domain+"/login"
        headers={"content-type":"application/json"}
        resp =requests.post(url=url,headers=headers,json=body)
        return resp
